package com.ljb.monitorview.monitor3;

import java.util.List;

/**
 * Created by ljb on 2017/6/16.
 */

public class MonitorBean3 {

    public String backgroundSet;
    public List<Copymsg> copymsg;
    public List<Pos> pos;

    public static class Copymsg {
        /**
         * imgprogramType : 0
         * childToParentPercent : {"wpercent":0.03313452617627568,"hpercent":0.0589622641509434}
         * imgDragSize : {"imgWidth":"50px","imgHeight":"50px"}
         * configSet : {"marginSet":"0","fontColor":"#333","textbackgroundSet":"transparent","fontSize":"12px","moniBeforeText":"进水cod","moniAfterText":"mg/l"}
         * imgsrc : https://jk-cloud-monitor-img.oss-cn-hangzhou.aliyuncs.com/common/config/text-v3.png
         * imgprogramId : jy_zqz_csb_jscod
         * imgtype : zoneOne
         * imgtitle : 进水cod
         * imgid : 20
         * imgcategory : 总站
         * showComponent : true
         */

        public String imgprogramType;
        public ChildToParentPercent childToParentPercent;
        public ImgDragSize imgDragSize;
        public ConfigSet configSet;
        public String imgsrc;
        public String imgprogramId;
        public String imgtype;
        public String imgtitle;
        public String imgid;
        public String imgcategory;
        public boolean showComponent;

        public static class ChildToParentPercent {
            /**
             * wpercent : 0.03313452617627568
             * hpercent : 0.0589622641509434
             */

            public double wpercent;
            public double hpercent;
        }

        public static class ImgDragSize {
            /**
             * imgWidth : 50px
             * imgHeight : 50px
             */

            public String imgWidth;
            public String imgHeight;
        }

        public static class ConfigSet {
            /**
             * marginSet : 0
             * fontColor : #333
             * textbackgroundSet : transparent
             * fontSize : 12px
             * moniBeforeText : 进水cod
             * moniAfterText : mg/l
             */

            public String marginSet;
            public String fontColor;
            public String textbackgroundSet;
            public String fontSize;
            public String moniBeforeText;
            public String moniAfterText;
            public double scaleSet;
            public String fontContent;
        }
    }

    public static class Pos {
        /**
         * left : 12.04684268574462
         * top : 58.60849056603773
         */

        public double left;
        public double top;
    }
}
